import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
import img_click from '@/components/img_click'
import img_base64 from '@/components/img_base64'
import ajaxValidation from "@/components/ajax_validation"
import drag from "@/components/drag"
import drag2 from "@/components/drag2"
import img_cn from "@/components/img_cn"

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/:appid/:operation/:theme',
      component: index
      // component: drag
    },
    {
      path: '/img_click',
      component: img_click
    },
    {
      path: '/img_base64',
      component: img_base64
    },
    {
      path: '/ajax_validaton',
      component: ajaxValidation
    }
  ]
})
